new Vue({
    el: '#app',
    mixins: [Save],//组件配置文件，路径/utils/components.js
    data() {
        return {
            dataForm: {
                Coords:''
            },
            childDataForm:[{}],
            city: [],
            tracecode_detail:[],
            tracecode_rules:[],
            merchant:[],
        }
    },
    mounted() {
        /**
         * 组件配置文件中自动执行方法
         * 1.this.init(); //初始化文件
         * 2.this.getData(); //仅修改时执行，根据BOM配置属性查询
         */
        this.getList();

    },
    methods: {
        async getList(){

            const data = await generalApi.generalQueryByTableName({
                Data: 'tracecode_rules',
                Condition: `Row_Status='0'`
            })
            this.tracecode_rules = data;

            // httpRequest({ //地块
            //     url: '/generalBusiness/generalQueryByTableName',
            //     data: {
            //         Data: 'tracecode_rules',
            //         Condition: `Row_Status='0'`
            //     },
            //     type:'GET'
            // }).then(data => {
            //    this.tracecode_rules = data;
            
               
            // }).catch(xhr => {
            //     this.$message.error("系统错误，请联系开发者!")
            // })

        },
    }
})